.class Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;
.super Ljava/lang/Object;
.source "ImagePreviewFragment.java"

# interfaces
.implements Landroid/view/ViewTreeObserver$OnPreDrawListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreDraw()Z
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->b(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)Landroidx/viewpager/widget/ViewPager;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->b(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)Landroidx/viewpager/widget/ViewPager;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->getLocationOnScreen([I)V

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->c(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)I

    move-result v2

    const/4 v3, 0x0

    aget v3, v0, v3

    sub-int/2addr v2, v3

    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->a(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;I)I

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->d(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)I

    move-result v2

    const/4 v3, 0x1

    aget v0, v0, v3

    sub-int/2addr v2, v0

    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->b(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;I)I

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment$b;->a:Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;->e(Lcom/esfile/screen/recorder/picture/picker/fragment/ImagePreviewFragment;)V

    return v3
.end method
